﻿<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta name="renderer" content=”webkit|ie-comp|ie-stand”/>
    <meta name="viewport" content="width=device-width, initial-scale=1"/>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="renderer" content="webkit">
    <link rel="icon" href="/favicon.ico">

    <title>文件管理</title>
    <link href="/assets/plugins/pace/pace-theme-minimal.css" rel="stylesheet"/>
    <link href="/assets/plugins/font/css/font-awesome.min.css" rel="stylesheet"/>
    <link href="/assets/plugins/bootstrap/bootstrap.min.css" rel="stylesheet"/>

    <script src="/assets/plugins/pace/pace.min.js"></script>
    <script src="/assets/plugins/jquery/jquery-1.10.2.min.js"></script>
    <script src="/assets/plugins/bootstrap/bootstrap.min.js"></script>
    <script src="/assets/plugins/jquery/plugin/jqprint/jquery.jqprint-0.3.js"></script>


    <link href="/module/style/lr-common.css" rel="stylesheet"/>
    <link href="/module/plugin/scroll/scroll.css" rel="stylesheet"/>
    <link href="/module/style/lr-iframe-index.css" rel="stylesheet"/>
    <link href="/module/plugin/layout/lr-layout.css" rel="stylesheet"/>
    <link href="/module/plugin/tree/lr-tree.css" rel="stylesheet"/>
    <link href="/module/plugin/select/lr-select.css" rel="stylesheet"/>

    <link href="/module/plugin/timeline/lr-timeline.css" rel="stylesheet"/>
    <link href="/module/plugin/formselect/lr-formselect.css" rel="stylesheet"/>
    <link href="/module/plugin/custmerquery/lr-custmerquery.css" rel="stylesheet"/>
    <link href="/module/plugin/date/lr-datepicker.css" rel="stylesheet"/>
    <link href="/module/plugin/grid/jfgrid.css" rel="stylesheet"/>

    <link href="index.css" rel="stylesheet"/>

    <script src="/assets/plugins/laydate/laydate.js"></script>
    <!--[if lt IE 9]>
    <script src="/assets/plugins/bootstrap/html5shiv.min.js"></script>
    <script src="/assets/plugins/bootstrap/respond.min.js"></script>
    <![endif]-->
    <script>
        function request(d) {
            for (var c = location.search.slice(1).split("&"), a = 0; a < c.length; a++) {
                var b = c[a].split("=");
                if (b[0] == d) if ("undefined" == unescape(b[1])) break; else return unescape(b[1])
            }
            return ""
        };
    </script>
<style>
    .lr-tab-content{
        margin-top: -770px;
    }
    .lr-form-tabs{
        margin-top: -40px;
    }
</style>
</head>
<body class="Chrome 64.0 lr-uitheme-top">
<div id="lr_form_bg" class="lr-form-bg">
</div>

<div id="lr_layout" class="lr-layout lr-layout-left-center">
    <div class="lr-layout-left">
        <div class="lr-layout-wrap lr-layout-wrap-notitle" style="padding-top:10px;">
            <div class="lr-layout-body">
                <ul class="lr-left-list" id="lr_left_list">
                    <li data-value="releaseFile" class="lrlg active">正式文件</li>
                    <li data-value="verifyFile" class="lrlg">审核中文件</li>
                    <li data-value="recycledFile" class="lrlg">回收站</li>
                </ul>
            </div>
        </div>
    </div>
    <div class="lr-layout-center">
        <div class="lr-layout-wrap">
            <div class="lr-layout-title">
                <span class="lrlg">文件管理</span> - <span id="titleinfo" class="lrlg">正式文件</span>
            </div>
            <div class="lr-layout-tool">
                <div class="lr-layout-tool-left">
                    <div class="lr-layout-tool-item">
                        <div id="datesearch" class="datetime"></div>
                    </div>
                    <div class="lr-layout-tool-item">
                        <input id="txt_Keyword" type="text" class="form-control" placeholder="请输入要查询关键字" />
                    </div>
                    <div class="lr-layout-tool-item">
                        <a id="btn_Search" class="btn btn-primary btn-sm"><i class="fa fa-search"></i>&nbsp;<span class="lrlg">查询</span></a>
                    </div>
                </div>
                <div class="lr-layout-tool-right">
                    <div class="btn-group btn-group-sm">
                        <a id="lr_refresh" class="btn btn-default"><i class="fa fa-refresh"></i></a>
                    </div>
                    <div class="btn-group btn-group-sm" learun-authorize="yes">
<!--                        <a id="lr_upload" class="btn btn-success"><i class="fa fa-upload"></i>&nbsp;<span class="lrlg">上传文件</span></a>-->
                        <a id="lr_publish" class="btn btn-default"><i class="fa fa-paper-plane-o"></i>&nbsp;<span class="lrlg">发布文件</span></a>
                    </div>
                    <div class="btn-group btn-group-sm" learun-authorize="yes">
                        <a id="lr_mkdir" class="btn btn-default"><i class="fa fa-plus"></i>&nbsp;<span class="lrlg">新建文件夹</span></a>
                        <a id="lr_delete" class="btn btn-danger"><i class="fa fa-trash-o"></i>&nbsp;<span class="lrlg">删除文件夹</span></a>
                    </div>
                    <div class="btn-group btn-group-sm" learun-authorize="yes">
<!--                        <a id="lr_download" class="btn btn-default"><i class="fa fa-download"></i>&nbsp;<span class="lrlg">下载</span></a>-->
<!--                        <a id="lr_preview" class="btn btn-default"><i class="fa fa-eye"></i>&nbsp;<span class="lrlg">预览</span></a>-->

                        <a id="lr_share" class="btn btn-default"><i class="fa fa-share-alt"></i>&nbsp;<span class="lrlg">授权</span></a>
<!--                        <a id="lr_cancelshare" class="btn btn-default" style="display: none;"><i class="fa fa-share-alt"></i>&nbsp;<span class="lrlg">取消共享</span></a>-->
<!--                        <a id="lr_more" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-expanded="false">-->
<!--                            <i class="fa fa-reorder"></i>&nbsp;<span class="lrlg">更多</span><span class="caret"></span>-->
<!--                        </a>-->
<!--                        <ul class="dropdown-menu pull-right">-->
<!--                            <li id="lr_rename"><a>&nbsp;<span class="lrlg">重命名</span></a></li>-->
<!--                            <li id="lr_move"><a>&nbsp;<span class="lrlg">移动</span></a></li>-->
<!--                        </ul>-->
                    </div>
<!--                    <div class="btn-group btn-group-sm" learun-authorize="yes">-->
<!--                        <a id="lr_restoreFile" style="display: none;" class="btn btn-default"><i class="fa fa-rotate-left"></i>&nbsp;<span class="lrlg">还原文件</span></a>-->
<!--                        <a id="lr_thoroughDelete" style="display: none;" class="btn btn-default"><i class="fa fa-trash-o"></i>&nbsp;<span class="lrlg">彻底删除</span></a>-->
<!--                        <a id="lr_emptyRecycled" style="display: none;" class="btn btn-default"><i class="fa fa-eraser"></i>&nbsp;<span class="lrlg">清空回收站</span></a>-->
<!--                    </div>-->
                </div>
            </div>
            <div class="lr-layout-body">
                <div class="lr-rblock active " style="padding-top:32px;" id="releaseFile">
                    <div style="position:absolute;top:0;left:0;height:32px;line-height:31px;color:#666;width:100%;border-bottom:1px solid #ccc;padding-left:8px;" id="pathList" >
                        <span data-fileid="0"  class="path-item">主目录</span>
                    </div>
                    <div id="gridTable" ></div>
                </div>
                <div class="lr-rblock" id="verifyFile" style="padding: 8px 5px;">
                    <div class="lr-form-tabs" id="lr_form_tabs">
                        <ul class="nav nav-tabs">
                            <li class="active"><a data-value="1"><span class="lrlg">我提交的文件</span></a></li>
                            <li><a data-value="2"><span class="lrlg">需要审核的文件</span></a></li>
                            <li><a data-value="3"><span class="lrlg">已审核文件</span></a></li>
                        </ul>
                    </div>
                    <div class="lr-tab-content" style="">
                        <div id="wfgridtable" style="border:1px solid #ccc;" ></div>
                    </div>
                </div>
                <div class="lr-rblock" id="recycledFile"><div id="dgridtable" ></div></div>
            </div>
        </div>
    </div>
</div>


<script src="index.js"></script>

<script src="/module/config.js"></script>
<script src="/module/plugin/resize/resize.js"></script>
<script src="/module/plugin/mousewheel/mousewheel.js"></script>
<script src="/module/plugin/layout/lr-layout.js"></script>
<script src="/module/plugin/scroll/scroll.js"></script>
<script src="/module/plugin/tree/lr-tree.js"></script>
<script src="/module/plugin/select/lr-select.js"></script>
<script src="/module/plugin/timeline/lr-timeline.js"></script>
<script src="/module/plugin/formselect/lr-formselect.js"></script>
<script src="/module/plugin/date/lr-datepicker.js"></script>
<script src="/module/plugin/grid/jfgrid.js"></script>
<script src="/module/script/lr-validator.js"></script>
<script src="/module/script/lr-authorize.js"></script>
<script src="/module/script/lr-excel.js"></script>
<script src="/module/script/lr-form.js"></script>

<script>
    var lrModuleButtonList;
    var lrModuleColumnList;
    var lrModule;
    $.lrToken = config.getToken().access_token;
    $(function () {
        $('#lr_form_bg').fadeOut();
        $('#form').lrscroll();



        top.learun.httpAsync('GET', config.base_server() + 'menus/findByPath?path=' + window.location.pathname + '&access_token=' + config.getToken().access_token, null, function (data) {
            lrModuleButtonList = data.btns;
            lrModuleColumnList = data.cols;
            lrModule = data;
            if (!!window.bootstrap) {
                bootstrap(jQuery, top.learun);
            }
        });
    });
</script>

</body>
</html>
